VIEW ORDER

<table>
	<tr>
		<td>
		 	ORDER INVOICE
		</td>
	</tr>
	
	<tr>
		<td>
		 	<table style="text-align: top">
		 		<tr>
					<td  valign="top">
					 	<strong>Transaction Number</strong><br>
					 	<?=$order->code."-".md5($order->ordered_deal_id)?>
					 	<br><br>
					 	<strong>Email</strong><br>
					 	<?=$currentUser->email?>
					 	<br>
					 	
					 	<br><br><br>
					 	<strong>Payment Mehod</strong><br>
					 	<?=$order->modeofpayment?>
					 	<br>
					</td>
					<td valign="top">
					 	<strong>Payment Address</strong>
					 	
					 	
					<?=isset($addressbook->firstname)?$addressbook->firstname:""?><br>
					<?=isset($addressbook->lastname)?$addressbook->lastname:""?><br>
					<?=isset($addressbook->company)?$addressbook->company:""?><br>
					<?=isset($addressbook->address1)?$addressbook->address1:""?><br>
					<?=isset($addressbook->address2)?$addressbook->address2:""?><br>
					<?=isset($addressbook->city)?$addressbook->city:""?><br>
					<?=isset($addressbook->postalcode)?$addressbook->postalcode:""?><br>
					<?=isset($addressbook->region)?$addressbook->region:""?><br>
				
					</td>
					<td valign="top" align="center">
					 	Send as a Gift
					</td>
				</tr>
		 	</table>
		</td>
	</tr>
	
		<tr>
		<td  colspan="3">
		 	<table  width="100%" valign="top" style="color:black">
		 		<tr>
					<td>
					 	<table  width="100%" valign="top" style="color:black">
							<tr>
								<th >Product</th>
								<th >Quantity</th>
								<th >Price</th>
								<th >Total</th>
							</tr>
							<tr>
								<td ><?=$individualdeal->name;?></td>
								<td ><input type="text" name="quantity" value="1" onchange="javascript:changeTotalPrice(this, <?=$individualdeal->price;?>)" style="width: 30px"></td>
								<td ><?=$individualdeal->price;?></td>
								<td ><span id="totalItemPrice"><?=$individualdeal->price;?></span></td>
							</tr>
							<tr>
								<td align="right"  colspan="3"> Sub-Total :</td>
								<td> <span id="subTotalPrice"><?=$individualdeal->price;?></span></td>
							</tr>
							<tr>
								<td colspan="3" align="right"> Pick Up :</td>
								<td> <span id="">0</span></td>
							</tr>
							<tr>
								<td  colspan="3" align="right"> Total :</td>
								<td> <span id="total"><?=$individualdeal->price;?></span></td>
							</tr>
						</table>
					</td>
				</tr>
		 	</table>
		</td>
	</tr>
	
	<tr>
		<td>
		 	ORDER History
		</td>
	</tr>
	
		
	<tr>
		<td colspan="3">
		 	<table width="100%">
		 		<tr>
			 		<th >Transaction Date</th>
					<th >Status</th>
		 		</tr>
		 		<tr>
			 		<th ><?=$order->order_created_on?></th>
					<th >Pending</th>
		 		</tr>
		 	</table>
		</td>
	</tr>
	
	
	

</table>